<?php

$strSQL = "SELECT * FROM tblOrderHeader";

    if ($intOrderHeaderID){
		$strJoin = " WHERE ";
		$strSQL .= $strJoin."tblOrderHeader.ID =  '$intOrderHeaderID'";
    }

    $strSQL .= " ORDER BY tblOrderHeader.Customer;";
    include (MODULE . "/action/actMySqlResults");
?>
